package com.sc.nft.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.util.List;


@Data
public class AddRewardsSectionVO {

    @ApiModelProperty(value = "开始区间", required = true)
    @NotNull(message = "开始区间不能为空")
    @Range(min = 0, max = 199, message = "开始区间最小值为0，最大值为199")
    private Integer beginSection;


    @ApiModelProperty(value = "结束区间", required = true)
    @NotNull(message = "结束区间不能为空")
    @Range(min = 1, max = 200, message = "结束区间最小值为0，最大值为200")
    private Integer endSection;

    @ApiModelProperty(value = "奖励列表", required = true)
    private List<AddRewardsDetailsVO> rewardsList;


}
